// lib/diameter.js
function diameter(radius) {
  return radius * 2;
}

module.exports = diameter;